package edu.zut.cs.software.example.shop.service;



import java.awt.List;

import org.apache.ibatis.annotations.Param;

import edu.zut.cs.software.example.service.GenericManager;
import edu.zut.cs.software.example.shop.domin.Shop;

public interface ShopManager extends GenericManager<Shop, Long> {
	/**
	 * 
	 * @param shopID
	 * @return
	 */
	public int deleteShopID(String shopID);
	
	public Shop ShopService(Shop shop);
	
	/**
	 * @param shopname
	 * @param pagenum
	 * @param pageSize
	 * @return
	 */
	public List getShop(String shopname,int pagenum,int pageSize);
	/**
	 * 
	 * @param shopname
	 * @return
	 */
	public int getShopCounts(String shopname);
	
	
	public int editShop(Shop shop);
	public Shop getUpdateShop(int id);
}
